package com.piao.springboot_jpa.repository;

import com.piao.springboot_jpa.entity.Word;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

//操作数据的接口repository 使其拥有常规CRUD功能
//public interface WordRepository extends JpaRepository<Word, Integer> {
//}
public interface WordRepository extends CrudRepository<Word, Integer> {
}